package com.twt.recruit.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author amorfati on 2024/02/02.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message {

	/**
 	* 主键
 	*/
	@TableId(type = IdType.AUTO)

	private Integer messageId;
	/**
 	* 发送者id
 	*/
	private Integer projectId;
	/**
 	* 接收者id
 	*/
	private String userReceive;
	private String title;
	/**
 	* 内容
 	*/
	private String content;
	/**
 	* 状态(0:未读/1:已读)
 	*/
	private byte isReceive;

	private String reply;
	/**
 	* 创建时间
 	*/
	private Timestamp createdTime;
	/**
 	* 更新时间
 	*/
	private Timestamp updatedTime;

}
